import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
//引入小仓库
import serach from './serach'
import home from './home'
import detail from './detail'
import shopCard from './shopCard'
import user from './user'
import trade from './trade'

export default new Vuex.Store({
  modules: {
    serach,
    home,
    detail,
    shopCard,
    user,
    trade,
  },
})
